<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport"
	content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" type="text/css" href="../layui/css/layui.css" />
<script src="../layui/layui.js" type="text/javascript" charset="utf-8"></script>
<title>后台管理</title>
</head>
<body class="layui-layout-body">
	<div class="layui-layout layui-layout-admin">
		<div class="layui-header">
			<div class="layui-logo">家具网后台管理</div>
			<!-- 头部区域（可配合layui已有的水平导航） -->
			<ul class="layui-nav layui-layout-left">
				<li class="layui-nav-item"><a
					href="../HomeServlet?method=toIndex">前台首页</a></li>
				<!-- <li class="layui-nav-item"><a href="javascript:;">其它系统</a>
          <dl class="layui-nav-child">
            <dd>
              <a href="">邮件管理</a>
            </dd>
            <dd>
              <a href="">消息管理</a>
            </dd>
            <dd>
              <a href="">授权管理</a>
            </dd>
          </dl></li> -->
			</ul>
			<ul class="layui-nav layui-layout-right">
				<li class="layui-nav-item"><a href="javascript:;"> <img
						src="../${userurl}" class="layui-nav-img"> ${username }
				</a>
					<dl class="layui-nav-child">
						<dd>
							<a href="login.jsp">登录</a>
						</dd>
						<dd>
							<a href="pass.jsp" target="right">密码安全</a>
						</dd>
						
					</dl></li>
				<li class="layui-nav-item"><a href="javascript:;"
					id="logoutLink">退出</a></li>
			</ul>
		</div>

		<div class="layui-side layui-bg-black">
			<div class="layui-side-scroll">
				<!-- 左侧导航区域（可配合layui已有的垂直导航） -->
				<ul class="layui-nav layui-nav-tree" lay-filter="test">
					<li class="layui-nav-item"><a href="javascript:;">产品管理</a>
						<dl class="layui-nav-child">
							<dd>
								<a href="ProductList.jsp" target="right">产品管理</a>

							</dd>
							<dd>
								<a href="imagesList.jsp" target="right">产品详情图片管理</a>
							</dd>
							<dd>
								<a href="ProtypList.jsp" target="right">产品系列表</a>
							</dd>
						</dl></li>
					<li class="layui-nav-item"><a href="javascript:;">新闻管理</a>
						<dl class="layui-nav-child">
							<dd>
								<a href="newsList.jsp" target="right">新闻资讯管理</a>
							</dd>
							<dd>
								<a href="NewsTypList.jsp" target="right">新闻系列表</a>
							</dd>
						</dl></li>
					<li class="layui-nav-item"><a href="desingerList.jsp"
						target="right">设计师表管理</a></li>
					<li class="layui-nav-item"><a href="messageList.jsp"
						target="right">留言板管理</a></li>
					<li class="layui-nav-item"><a href="bannerList.jsp"
						target="right">轮播图管理</a></li>
					<li class="layui-nav-item"><a href="comdeList.jsp"
						target="right">公司表管理</a></li>
					<li class="layui-nav-item"><a href="LianXi.jsp" target="right">客服联系表管理</a></li>
				</ul>
			</div>
		</div>

		<div class="layui-body">
			<!-- 内容主体区域 -->
			<div style="padding: 15px;">
				<iframe src="" name="right" frameborder="0" width="100%"
					height="700"></iframe>
			</div>
		</div>

		<div class="layui-footer">
			<!-- 底部固定区域 -->
			欢迎进入家居网后台 Copyright 2019-2020 Joysoul匠舍家居 www.joysoul.com.cn
			国内最全的品牌家居门户网站 ICP: 粤ICP备19067085号-1
		</div>
	</div>
	<script>
		//JavaScript代码区域
		layui.use([ 'element', 'layer' ], function() {
			var element = layui.element;
			var $ = layui.$;
			//退出
			$("#logoutLink").click(function() {
				layer.confirm('您确定退出吗？', {
					icon : 3,
					title : '退出'
				}, function(index) {
					$.post("UserServletAdmin?method=doLogout", function(res) {
						layer.msg(res.msg);
						window.location.href = 'login.jsp';
						layer.close(index);
					}, "json")

				});
			})
		});
	</script>
</body>
</html>